% collect data
allpoints = cat(1,[invarx(graymask==1),invary(graymask==1),invarz(graymask==1)],[invarx(whitemask==1),invary(whitemask==1),invarz(whitemask==1)]);

% set equal weights on all samples
bootpars.weights = ones(size(allpoints(:,1)));
